Automattic\WooCommerce\Blocks\BlockTypes\ProductImage S

Total Complexity 23
Dependencies 1
Dependents 0
Total lines 230
Lines of code 130
Logical lines of code 37
Comment lines 70
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
render_image()
A
49 7 33
render_on_sale_badge()
S
55 5 19
render()
S
52 4 26
render_anchor()
S
63 2 11
get_block_type_supports()
S
58 1 20
parse_attributes()
S
62 1 12
register_block_type_assets()
S
82 1 3
get_block_type_uses_context()
S
79 1 3
enqueue_data()
S
79 1 3